#include <zenoui/Color.hpp>

namespace zenoui {

// https://paletton.com/#uid=72H0n0kkxlQ9+xeffr6p-gLv2bm
static const char kColorPalette[4][5][8] = {
    {"#529636", "#ACDD98", "#7CBA61", "#327317", "#194E02"},
    {"#2B7757", "#7AB29A", "#4E9476", "#125C3C", "#023E24"},
    {"#AE5E3E", "#FFC6AF", "#D88E71", "#86391B", "#5A1C03"},
    {"#A33B4D", "#F0A5B2", "#CB6A7B", "#7D192B", "#550311"},
};

Color getPaletteColor(int kind, int index) {
    return Color(kColorPalette[kind][index]);
}

}
